<?php

namespace IDock\Insurance\LIHI\Request;

use IDock\Insurance\LIHI\Request\AllLIHIRequest;
use IDock\Insurance\LIHI\Response\NonCarInquiryDeleteResponse;
use IDock\Insurance\LIHI\Response\NonCarInquiryResponse;
use IDock\Insurance\LIHI\Response\NonCarProductListResponse;
use IDock\Visitor\NonCar\NonCarProductListVisitor;
use IDock\Visitor\NonCar\NonCarProductVisitor;
use IDock\Visitor\Premium\PremiumInquiryVisitor;

class NonCarInquiryDeleteRequest extends AllLIHIRequest
{

    protected $urlTip = '删除非车计划';

    public $route = 'cpservice/deletePlan';

    protected $response = NonCarInquiryDeleteResponse::class;

    /*** @var  PremiumInquiryVisitor $visitor */
    protected $visitor;

    public $documentNo = '';

    public function generate(): array
    {
        $this->flowId = $this->visitor->getVehicleVisitor()->argc['flowId'] ?? '';
        return [
            'documentNo' => $this->documentNo,
        ];
    }
}
